home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000344_news@newsmaster….columbia.edu _Sun Dec 7 11:21:44 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA27097
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 7 Dec 1997 11:21:44 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA13283
  7.     for kermit.misc@watsun; Sun, 7 Dec 1997 11:21:43 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc
  11. Subject: Re: Linux and serial terminals
  12. Date: 7 Dec 1997 16:21:41 GMT
  13. Organization: Columbia University
  14. Lines: 149
  15. Message-ID: <66eiel$qm2$1@apakabar.cc.columbia.edu>
  16. References: <slrn68glk4.23g.mckemie@inetport.com> <66buir$es1$1@apakabar.cc.columbia.edu> <66c92r$msj$1@news.ycc.yale.edu>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.os.linux.misc:230723 comp.protocols.kermit.misc:8139
  19.  
  20. In article <66c92r$msj$1@news.ycc.yale.edu>,
  21. Miguel Cruz  <miguel.cruz@bigfoot.com> wrote:
  22. : Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  23. : >What you need is Linux Console emulation, which is the same as SCOANSI
  24. : >(which is *not* the same as "BBS-ANSI").  It doesn't use scan codes; rather,
  25. : >it defines escape sequences for about every key combo on the PC keyboard.
  26. : >Kermit 95 is an example of a Windows 95/NT (and OS/2) communications program
  27. : >that supports this:
  28. : Know of a way to get something like this functionality on a 286 CGA machine?
  29. : I am using Kermit on it now...
  30. :
  31. You mean MS-DOS Kermit, not Kermit 95, right?  That's a different program
  32. entirely.  It does not claim to offer Linux console (SCOANSI) emulation.
  33.  
  34. : ... but many of the keys don't work.
  35. :
  36. You can use SET KEY to make every key and key combo send exactly what you want.
  37. See below.
  38.  
  39. : More annoying
  40. : still, when I use lynx, either all the active links, or the currently
  41. : selected link shows up as plain text.
  42. :
  43. Which terminal emulation are you using in Kermit, and what kind of terminal
  44. does Lynx think you have?
  45.  
  46. : I have tried every combination of
  47. : local and remote terminal settings and I've never gotten regular,
  48. : high-contrast, and underline on the screen at the same time in Lynx. 
  49. MS-DOS Kermit can not do underlining if the video adapter does not
  50. support it.  CGA, VGA, etc, do not have as many video attributes as the VT
  51. terminals that Kermit is emulating, thus some have to simulated by others.
  52.  
  53. Try this keymap -- totally untested; send back any suggested improvements:
  54.  
  55. ; Linux Console / SCOANSI key map for MS-DOS Kermit
  56.  
  57. set key \270 \{8}    ; Backspace
  58. set key \284 \{13}    ; Enter
  59. set key \329 \27[I    ; PageUp
  60. set key \337 \27[G    ; PageDown
  61. set key \335 \27[F    ; End
  62. set key \327 \27[H    ; Home
  63. set key \331 \27[D    ; LeftArrow
  64. set key \328 \27[A    ; UpArrow
  65. set key \333 \27[C    ; RightArrow
  66. set key \336 \27[B    ; DownArrow
  67. set key \338 \27[L    ; Insert
  68. set key \339 \{127}    ; Delete
  69. set key \851 \{48}    ; Keypad-0
  70. set key \847 \{49}    ; Keypad-1
  71. set key \848 \{50}    ; Keypad-2
  72. set key \849 \{51}    ; Keypad-3
  73. set key \843 \{52}    ; Keypad-4
  74. set key \844 \{53}    ; Keypad-5
  75. set key \845 \{54}    ; Keypad-6
  76. set key \839 \{55}    ; Keypad-7
  77. set key \840 \{56}    ; Keypad-8
  78. set key \841 \{57}    ; Keypad-9
  79. set key \311 \{42}    ; Multiply
  80. set key \334 \{43}    ; Add
  81. set key \330 \{45}    ; Subtract
  82. set key \850 \{46}    ; Decimal
  83. set key \315 \27[M    ; F1
  84. set key \316 \27[N    ; F2
  85. set key \317 \27[O    ; F3
  86. set key \318 \27[P    ; F4
  87. set key \319 \27[Q    ; F5
  88. set key \320 \27[R    ; F6
  89. set key \321 \27[S    ; F7
  90. set key \322 \27[T    ; F8
  91. set key \323 \27[U    ; F9
  92. set key \324 \27[V    ; F10
  93. set key \389 \27[W    ; F11
  94. set key \390 \27[X    ; F12
  95. set key \769 \{27}    ; Shift-ESC
  96. set key \782 \{127}    ; Shift-Backspace
  97. set key \783 \27[Z    ; Shift-Tab
  98. set key \846 +        ; Shift-Add
  99. set key \842 \{45}    ; Shift-Subtract
  100. set key \852 \27[Y    ; Shift-F1
  101. set key \853 \27[Z    ; Shift-F2
  102. set key \854 \27[a    ; Shift-F3
  103. set key \855 \27[b    ; Shift-F4
  104. set key \856 \27[c    ; Shift-F5
  105. set key \857 \27[d    ; Shift-F6
  106. set key \858 \27[e    ; Shift-F7
  107. set key \859 \27[f    ; Shift-F8
  108. set key \860 \27[g    ; Shift-F9
  109. set key \861 \27[h    ; Shift-F10
  110. set key \903 \27[i    ; Shift-F11
  111. set key \904 \27[j    ; Shift-F12
  112. set key \1337 \Knull    ; Ctrl-Spacebar
  113. set key \1427 \{8}    ; Ctrl-Delete
  114. set key \1283 \Knull    ; Ctrl-2
  115. set key \1374 \27[k    ; Ctrl-F1
  116. set key \1375 \27[l    ; Ctrl-F2
  117. set key \1376 \27[m    ; Ctrl-F3
  118. set key \1377 \27[n    ; Ctrl-F4
  119. set key \1378 \27[o    ; Ctrl-F5
  120. set key \1379 \27[p    ; Ctrl-F6
  121. set key \1380 \27[q    ; Ctrl-F7
  122. set key \1381 \27[r    ; Ctrl-F8
  123. set key \1382 \27[s    ; Ctrl-F9
  124. set key \1383 \27[t    ; Ctrl-F10
  125. set key \1417 \27[u    ; Ctrl-F11
  126. set key \1418 \27[v    ; Ctrl-F12
  127. set key \1820 \Kignore    ; Ctrl-Shift-Enter
  128. set key \1886 \27[w    ; Ctrl-Shift-F1
  129. set key \1887 \27[x    ; Ctrl-Shift-F2
  130. set key \1888 \27[y    ; Ctrl-Shift-F3
  131. set key \1889 \27[z    ; Ctrl-Shift-F4
  132. set key \1890 \27[@    ; Ctrl-Shift-F5
  133. set key \1891 \27[[    ; Ctrl-Shift-F6
  134. set key \1892 \27[\{92}    ; Ctrl-Shift-F7
  135. set key \1893 \27[]    ; Ctrl-Shift-F8
  136. set key \1894 \27[^    ; Ctrl-Shift-F9
  137. set key \1895 \27[_    ; Ctrl-Shift-F10
  138. set key \1929 \27[`    ; Ctrl-Shift-F11
  139. set key \1930 \27[{    ; Ctrl-Shift-F12
  140. set key \2435 \Kreset    ; Alt-=
  141. set key \2864 \Kbreak    ; Alt-B
  142. set key \2847 \Kstatus    ; Alt-S
  143. set key \2861 \Kexit    ; Alt-X
  144. set key \2352 \Kbreak    ; Alt-b
  145. set key \2350 \Kcompose    ; Alt-c
  146. set key \2335 \Kstatus    ; Alt-s
  147. set key \2349 \Kexit    ; Alt-x
  148. set key \2318 \{8}    ; Alt-Backspace
  149. set key \4365 \{13}    ; Gray-Enter
  150. set key \4425 \27[I    ; Gray-PageUp
  151. set key \4433 \27[G    ; Gray-PageDown
  152. set key \4431 \27[F    ; Gray-End
  153. set key \4423 \27[H    ; Gray-Home
  154. set key \4427 \27[D    ; Gray-LeftArrow
  155. set key \4424 \27[A    ; Gray-UpArrow
  156. set key \4429 \27[C    ; Gray-RightArrow
  157. set key \4432 \27[B    ; Gray-DownArrow
  158. set key \4434 \27[L    ; Gray-Insert
  159. set key \4435 \{127}    ; Gray-Delete
  160. set key \4947 \{127}    ; Shift-Gray-Delete
  161. set key \5523 \{8}    ; Ctrl-Gray-Delete
  162.  
  163. ; End
  164.  
  165.  
  166. - Frank